package com.dingcan;

import com.dingcan.biao1.NewsDaoImp1;

import java.sql.SQLException;

public class Fun1 {
    public static void main(String[] args) throws SQLException {

        //newsDaoImp1.addNews(7,"sfdas","sdfsd","asdfas",12);
        //newsDaoImp1.addNews(3,2,"军事","dfsd","dsf",new Date());
        //newsDaoImp1.deleteNews(7);
       //newsDaoImp1.updateNews(3,"java");
    }
}
